<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>查询短信信息</title>
</head>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<body>

页数<input id="page" value="1"/>，
每页条数<input id="pagesize"  value="10"/>，
<a href="javascript:testclick()">查询</a>

<div id="data"></div>

<script type="text/javascript">
function testclick(){
	var url = "http://dev.chenksoft.com:8080/ckapi/api/584/ITF_SK_MESSAGE.jsp";
	var param={
		"page.page":$("#page").val(),
		"page.pagesize":$("#pagesize").val()
	};
	$.ajax({//先到分部绑定，再到总部绑定
		url:url,
		data:param,
		success:function(d){
			console.log(d);
			if(d.code==0){
				var data = d.data;
				var htmldata = "";
				for(var i=0;i<data.length;i++){
					htmldata+=",发送号码："+data[i]["skt7.skf54"];			
					htmldata+=",发送时间："+data[i]["skt7.skf55"];			
					htmldata+=",接收号码："+data[i]["skt7.skf56"];			
					htmldata+=",短信内容："+data[i]["skt7.skf57"];			
					htmldata+="<br/>";
				}
				$("#data").html(htmldata);
			}else{
				
			}
		},error:function(e){
			
		}
	})
}
</script>
</body>
</html>